Proving Ground Confluence and Inductive Validity in Constructor Based Equational Specifications
نویسنده
چکیده
1 I n t r o d u c t i o n Equational specifications can be considered as the programs of an applicat ive programming language with rewriting being its computat ion mechanism. Semantics is assigned to such specification programs using canonical term algebras. Usually all ground germs of the given signature contribute to the construction of the carrier set. Sometimes however it is convenient to introduce so-cMled constructors in order to capture the intui t ion of the specifier. In that case the operat ions given by the signature are spli t into two groups: those which are used to construct the domain of computa t ion the constructors and those which do not contr ibute to this construction, but which are to be (possibly part ia l ly) defined over the domain of interest the defined operators. To consider an example, let 0 ("zero") and s ("successor") be the constructor symbols tha t introduce the natflral nulnbers. Then the following equations ( R 1 ) . . . (R4) define addi t ion and subtract ion over the natural numbers. Note that subtract ion is not a total ly defined operat ion with respect to the constructors, as there is no constructor term that is equivMcnt to (e.g.) 0 ~(0). ( n l ) ~ + 0 = . ( m ) ~ 0 = (n2) ~ + ~ ( v ) = ~ ( ~ + v ) (n~) ~ ( ~ ) 4 v ) = ~ v
منابع مشابه
Proving Ground Confluence of Equational Specifications Modulo Axioms
Terminating functional programs should be deterministic, i.e., should evaluate to a unique result, regardless of the evaluation order. For equational functional programs such determinism is exactly captured by the ground confluence property. For terminating equations this is equivalent to ground local confluence, which follows from local confluence. Checking local confluence by computing critic...
متن کاملOn Notions of Inductive Validity for First-Oder Equational Clauses
We define and discuss various conceivable notions of inductive validity for first-order equational clauses. This is done within the framework of constructor-based positive/negative conditional equational specifications which permits to treat negation and incomplete function definitions in an adequate and natural fashion. Moreover, we show that under some reasonable assumptions all these notions...
متن کاملAutomated Induction for Complex Data Structures
We propose a procedure for automated implicit inductive theorem proving for equational specifications made of rewrite rules with conditions and constraints. The constraints are interpreted over constructor terms (representing data values), and may express syntactic equality, disequality, ordering and also membership in a fixed tree language. Constrained equational axioms between constructor ter...
متن کاملAutomated Induction with Constrained Tree Automata
We propose a procedure for automated implicit inductive theorem proving for equational specifications made of rewrite rules with conditions and constraints. The constraints are interpreted over constructor terms (representing data values), and may express syntactic equality, disequality, ordering and also membership in a fixed tree language. Constrained equational axioms between constructor ter...
متن کاملOn the Completeness of Context-Sensitive Order-Sorted Specifications
We propose three different notions of completeness for term rewrite specifications supporting order-sorted signatures, deduction modulo axioms, and context-sensitive rewriting relative to a replacement map μ. Our three notions are: (1) an appropriate definition of μ-sufficient completeness with respect to a set of constructor symbols; (2) a definition of μ-canonical completeness under which μ-c...
متن کامل